package com.ruyiadmin.springboot.entity_data_model.data_transformation_model.system_model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 导入明细DTO模型
 *
 * @author RuYiAdmin
 * @since 2022-08-13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "ImportConfigDetailDTO对象", description = "导入配置明细表")
public class ImportConfigDetailDTO {
    @ApiModelProperty("数据类型，0：小数，1：整数，2：文本，3：日期，4：时间")
    private Integer dataType;

    @ApiModelProperty("所在列")
    private String cells;

    @ApiModelProperty("是否必填项，0：否，1：是")
    private Integer required;

    @ApiModelProperty("最大值")
    private Double maxValue;

    @ApiModelProperty("最小值")
    private Double minValue;

    @ApiModelProperty("小数位上限")
    private Integer decimalLimit;

    @ApiModelProperty("枚举列表")
    private String textEnum;

    @ApiModelProperty("扩展字段")
    private String extend1;

    @ApiModelProperty("扩展字段")
    private String extend2;

    @ApiModelProperty("扩展字段")
    private String extend3;

    @ApiModelProperty("序号")
    private Integer serialNumber;

    @ApiModelProperty("备注")
    private String remark;
}
